<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:71:"/var/www/dangan_new/public/../application/index/view/Search/result.html";i:1547625803;s:61:"/var/www/dangan_new/application/index/view/Inquiry/index.html";i:1547618764;}*/ ?>
<!DOCTYPE html>
<!-- 
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.1.1
Version: 2.0.2
Author: KeenThemes
Website: http://www.keenthemes.com/
Contact: support@keenthemes.com
Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
License: You must have a valid license purchased only from themeforest(the above link) in order to legally use the theme for your project.
-->
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
	<meta charset="utf-8"/>
	<title>东海航海保障中心电子档案系统</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta content="width=device-width, initial-scale=1" name="viewport"/>
	<meta content="" name="description"/>
	<meta content="" name="author"/>
	<!-- BEGIN GLOBAL MANDATORY STYLES -->
	<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/plugins/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
	<!-- END GLOBAL MANDATORY STYLES -->
	<!-- BEGIN PAGE LEVEL PLUGIN STYLES -->
	<link href="/static/assets/plugins/gritter/css/jquery.gritter.css" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/plugins/bootstrap-daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/plugins/fullcalendar/fullcalendar/fullcalendar.css" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/plugins/jqvmap/jqvmap/jqvmap.css" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/plugins/jquery-easy-pie-chart/jquery.easy-pie-chart.css" rel="stylesheet" type="text/css"/>
	<!-- END PAGE LEVEL PLUGIN STYLES -->
	<!-- BEGIN THEME STYLES -->
	<link href="/static/assets/css/style-metronic.css" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/css/style.css" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/css/style-responsive.css" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/css/plugins.css" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/css/pages/tasks.css" rel="stylesheet" type="text/css"/>
	<link href="/static/assets/css/themes/default.css" rel="stylesheet" type="text/css">
	<link href="/static/assets/css/print.css" rel="stylesheet" type="text/css" media="print"/>
	<link href="/static/assets/css/custom.css" rel="stylesheet" type="text/css"/>
	<!-- END THEME STYLES -->
	<link rel="shortcut icon" href="favicon.ico"/>
    
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body class="page-header-fixed">

<!-- BEGIN HEADER -->
<div class="header navbar navbar-fixed-top">
	<!-- BEGIN TOP NAVIGATION BAR -->
	<div class="header-inner">
		<!-- BEGIN LOGO -->
		<a class="navbar-brand" href="index.html" style="margin-top: -8px;">
			<img src="/static/assets/img/logo.png" alt="logo" class="img-responsive"/ width="30">
		</a>
		<!-- END LOGO -->
		<!-- BEGIN RESPONSIVE MENU TOGGLER -->
		<div class="hor-menu hidden-sm hidden-xs">
			<ul class="nav navbar-nav">
				<!-- <li class="classic-menu-dropdown active">
					<a href="index.html">
						 Dashboard
						<span class="selected">
						</span>
					</a>
				</li> -->
				<li class="mega-menu-dropdown">
					<a href="/" data-hover="dropdown" data-close-others="true" href="" class="dropdown-toggle">
						我的工作台 <!-- <i class="fa fa-angle-down"></i> -->
					</a>

				</li>
				<li  class="mega-menu-dropdown mega-menu-full open">
					<a data-hover="dropdown" data-close-others="true" href="<?php echo url('index/Search/index'); ?>" class="dropdown-toggle">
						档案查询 <!-- <i class="fa fa-angle-down"></i> -->
					</a>
				</li>
				<li class="mega-menu-dropdown mega-menu-full">
					<a data-hover="dropdown" data-close-others="true" href="<?php echo url('index/Prearc/index'); ?>?cate_id=-1" class="dropdown-toggle">
						档案管理 <!-- <i class="fa fa-angle-down"></i> -->
					</a>
					<ul class="dropdown-menu">
						<li>
						</li>
					</ul>
				</li>
				<li>
					<li class="mega-menu-dropdown mega-menu-full">
					<a data-hover="dropdown" data-close-others="true" href="<?php echo url('index/Message/index'); ?>?cate_id=-1" class="dropdown-toggle">
						消息管理 <!-- <i class="fa fa-angle-down"></i> -->
					</a>
					<ul class="dropdown-menu">
						<li>
						</li>
					</ul>
				</li>
				<li>
					<li class="mega-menu-dropdown mega-menu-full">
					<a data-hover="dropdown" data-close-others="true" href="<?php echo url('index/Suggest/index'); ?>" class="dropdown-toggle">
						意见反馈 <!-- <i class="fa fa-angle-down"></i> -->
					</a>
					<ul class="dropdown-menu">
						<li>
						</li>
					</ul>
				</li>
		</div>

		<a href="javascript:;" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
			<img src="/static/assets/img/menu-toggler.png" alt=""/>
		</a>
		<!-- END RESPONSIVE MENU TOGGLER -->
		<!-- BEGIN TOP NAVIGATION MENU -->
		
		<ul class="nav navbar-nav pull-right">
			<!-- BEGIN NOTIFICATION DROPDOWN -->
			<li class="dropdown" id="header_notification_bar" style="display: none;">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
					<i class="fa fa-warning"></i>
					<span id="notnum">
						 
					</span>
				</a>
				<ul class="dropdown-menu extended notification">
					<li>
						<p>
							 <span id="noticenum"></span>
						</p>
					</li>
					<!-- <li id="papa"  style="overflow: hidden;max-height: 200px;"> -->
					<li id=""  style="overflow: hidden;max-height: 200px;">

						<!-- <i class="fa fa-bell-o"></i> -->
					<li>
						
					</li>
					<li class="external">
						<a href="<?php echo url('index/Inbox/checknotice'); ?>">
							 查看更多 <i class="m-icon-swapright"></i>
						</a>
					</li>
				</ul>
			</li>
			<!-- END NOTIFICATION DROPDOWN -->
			<!-- BEGIN INBOX DROPDOWN -->
			<li class="dropdown" id="header_inbox_bar">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
					<i class="fa fa-envelope"></i>
					<span id="mailnum" >

					</span>
				</a>
				<ul class="dropdown-menu extended inbox" style="">
					<li>
						<p>
							 <span id="messagenum"></span>

						</p>
					</li>

					<li id="baba"  style="overflow: hidden;max-height: 200px;">
						
					</li>
					<li class="external">
						<a href="<?php echo url('index/Message/index'); ?>">
							 查看更多 <i class="m-icon-swapright"></i>
						</a>
						
					</li>
				</ul>
			</li>
			<script>
				
			</script>
			<!-- END INBOX DROPDOWN -->
			<!-- BEGIN TODO DROPDOWN -->

			<!-- END TODO DROPDOWN -->
			<!-- BEGIN USER LOGIN DROPDOWN -->
			<li class="dropdown user">
				<a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
					<!-- <img alt="" src="/static/assets/img/avatar1_small.jpg"/> -->
					<span class="username">
						<?php echo $_SESSION['think']['username'][0]['user_name']; ?>
					</span>
					<i class="fa fa-angle-down"></i>
				</a>
				<ul class="dropdown-menu">
					<li>
						<a href="<?php echo url('index/user/index'); ?>">
							<i class="fa fa-user"></i> 个人中心
						</a>
					</li>
					
					
					<li class="divider">
					</li>
					<li>
						<a href="javascript:;" id="trigger_fullscreen">
							<i class="fa fa-arrows"></i> 全屏
						</a>
					</li>
					
					<li>
						<a href="<?php echo url('index/logout/index'); ?>">
							<i class="fa fa-key"></i> 注销
						</a>
					</li>
				</ul>
			</li>
			<!-- END USER LOGIN DROPDOWN -->
		</ul>

		<!-- END TOP NAVIGATION MENU -->
	</div>
	<!-- END TOP NAVIGATION BAR -->
</div>
<!-- END HEADER -->
<div class="clearfix">
</div>

<!-- BEGIN CONTAINER -->
<div class="page-container">
	<!-- BEGIN SIDEBAR -->
	<div class="page-sidebar-wrapper">
		<div class="page-sidebar navbar-collapse collapse">
			<!-- add "navbar-no-scroll" class to disable the scrolling of the sidebar menu -->
			<!-- BEGIN SIDEBAR MENU -->
			<ul class="page-sidebar-menu" data-auto-scroll="true" data-slide-speed="200">
				<li class="sidebar-toggler-wrapper">
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
					<div class="sidebar-toggler hidden-phone">
					</div>
					<!-- BEGIN SIDEBAR TOGGLER BUTTON -->
				</li>
				<!-- {if  $node[0]['menu_name'] == 'level1'}  -->
				<li class="search">
					<a href="<?php echo url('index/Search/index'); ?>">
						<i class="fa fa-shopping-cart"></i>
						<span class="title">
							档案查询
						</span>
						<span class="arrow ">
						</span>
					</a>
				</li>
				<li class="query">
					<a href="<?php echo url('index/Query/index'); ?>">
						<i class="fa fa-shopping-cart"></i>
						<span class="title">
							档案目录
						</span>
						<span class="arrow ">
						</span>
					</a>
				</li>
				
				
				
			</ul>
			<!-- END SIDEBAR MENU -->
		</div>
	</div>
	<div class="modal fade" id="model1" tabindex="-1" role="model1" aria-hidden="true" style="display: none;">

		<!-- /.modal-dialog -->
	</div>
	<script src="/static/assets/plugins/jquery-1.10.2.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>
	<!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
	<script src="/static/assets/plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jquery.blockui.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jquery.cokie.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/uniform/jquery.uniform.min.js" type="text/javascript"></script>
	<!-- END CORE PLUGINS -->
	<!-- BEGIN PAGE LEVEL PLUGINS -->
	<script src="/static/assets/plugins/jqvmap/jqvmap/jquery.vmap.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jqvmap/jqvmap/maps/jquery.vmap.russia.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jqvmap/jqvmap/maps/jquery.vmap.world.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jqvmap/jqvmap/maps/jquery.vmap.europe.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jqvmap/jqvmap/maps/jquery.vmap.germany.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jqvmap/jqvmap/maps/jquery.vmap.usa.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jqvmap/jqvmap/data/jquery.vmap.sampledata.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/flot/jquery.flot.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/flot/jquery.flot.resize.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/flot/jquery.flot.categories.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jquery.pulsate.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/bootstrap-daterangepicker/moment.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/bootstrap-daterangepicker/daterangepicker.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/gritter/js/jquery.gritter.js" type="text/javascript"></script>
	<!-- IMPORTANT! fullcalendar depends on jquery-ui-1.10.3.custom.min.js for drag & drop support -->
	<script src="/static/assets/plugins/fullcalendar/fullcalendar/fullcalendar.min.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jquery-easy-pie-chart/jquery.easy-pie-chart.js" type="text/javascript"></script>
	<script src="/static/assets/plugins/jquery.sparkline.min.js" type="text/javascript"></script>
	<!-- END PAGE LEVEL PLUGINS -->
	<!-- BEGIN PAGE LEVEL SCRIPTS -->
	<!-- <script src="/static/assets/scripts/core/app.js" type="text/javascript"></script> -->
	<!-- <script src="/static/assets/scripts/custom/index.js" type="text/javascript"></script> -->
	<script src="/static/assets/scripts/custom/tasks.js" type="text/javascript"></script>

<!-- END PAGE LEVEL SCRIPTS -->


<script type="text/javascript">
var DDSPEED = 10;
var DDTIMER = 15;
var OFFSET = -2;
var ZINT = 100;
function ddMenu(id,d){
 var h = document.getElementById(id + '-ddheader');
 var c = document.getElementById(id + '-ddcontent');
 clearInterval(c.timer);
 if(d == 1){
  clearTimeout(h.timer);
  c.style.display = 'block';
  if(c.maxh && c.maxh <= c.offsetHeight){return}
  else if(!c.maxh){
   c.style.left = (h.offsetWidth + OFFSET) + 'px';
   c.style.height = 'auto';
   c.maxh = c.offsetHeight;
   c.style.height = '0px';
  }
  ZINT = ZINT + 1;
  c.style.zIndex = ZINT;
  c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER);
 }else{
  h.timer = setTimeout(function(){ddCollapse(c)},50);
 }
}
function ddCollapse(c){
 c.timer = setInterval(function(){ddSlide(c,-1)},DDTIMER);
}
function cancelHide(id){
 var h = document.getElementById(id + '-ddheader');
 var c = document.getElementById(id + '-ddcontent');
 clearTimeout(h.timer);
 clearInterval(c.timer);
 if(c.offsetHeight < c.maxh){
  c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER);
 }
}
function ddSlide(c,d){
 var currh = c.offsetHeight;
 var dist;
 if(d == 1){
  dist = Math.round((c.maxh - currh) / DDSPEED);
 }else{
  dist = Math.round(currh / DDSPEED);
 }
 if(dist <= 1 && d == 1){
  dist = 1;
 }
 c.style.height = currh + (dist * d) + 'px';
 c.style.opacity = currh / c.maxh;
 c.style.filter = 'alpha(opacity=' + (currh * 100 / c.maxh) + ')';
 if(currh > (c.maxh - 2) && d == 1){
  clearInterval(c.timer);
 }else if(dist < 1 && d != 1){
  clearInterval(c.timer);
  c.style.display = 'none';
 }
}
</script>
<!-- END JAVASCRIPTS -->
<!-- END PAGE LEVEL SCRIPTS -->
<script>
jQuery(document).ready(function() {    
   // App.init(); // initlayout and core plugins
   // Index.init();
   // Index.initJQVMAP(); // init index page's custom scripts
   // Index.initCalendar(); // init index page's custom scripts
   // Index.initCharts(); // init index page's custom scripts
   // Index.initChat();
   // Index.initMiniCharts();
   // Index.initDashboardDaterange();
   // Index.initIntro();
   // Tasks.initDashboardWidget();
});
</script>
<script type="text/javascript">
var DDSPEED = 10;
var DDTIMER = 15;
var OFFSET = -2;
var ZINT = 100;
function ddMenu(id,d){
 var h = document.getElementById(id + '-ddheader');
 var c = document.getElementById(id + '-ddcontent');
 clearInterval(c.timer);
 if(d == 1){
  clearTimeout(h.timer);
  c.style.display = 'block';
  if(c.maxh && c.maxh <= c.offsetHeight){return}
  else if(!c.maxh){
   c.style.left = (h.offsetWidth + OFFSET) + 'px';
   c.style.height = 'auto';
   c.maxh = c.offsetHeight;
   c.style.height = '0px';
  }
  ZINT = ZINT + 1;
  c.style.zIndex = ZINT;
  c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER);
 }else{
  h.timer = setTimeout(function(){ddCollapse(c)},50);
 }
}
function ddCollapse(c){
 c.timer = setInterval(function(){ddSlide(c,-1)},DDTIMER);
}
function cancelHide(id){
 var h = document.getElementById(id + '-ddheader');
 var c = document.getElementById(id + '-ddcontent');
 clearTimeout(h.timer);
 clearInterval(c.timer);
 if(c.offsetHeight < c.maxh){
  c.timer = setInterval(function(){ddSlide(c,1)},DDTIMER);
 }
}
function ddSlide(c,d){
 var currh = c.offsetHeight;
 var dist;
 if(d == 1){
  dist = Math.round((c.maxh - currh) / DDSPEED);
 }else{
  dist = Math.round(currh / DDSPEED);
 }
 if(dist <= 1 && d == 1){
  dist = 1;
 }
 c.style.height = currh + (dist * d) + 'px';
 c.style.opacity = currh / c.maxh;
 c.style.filter = 'alpha(opacity=' + (currh * 100 / c.maxh) + ')';
 if(currh > (c.maxh - 2) && d == 1){
  clearInterval(c.timer);
 }else if(dist < 1 && d != 1){
  clearInterval(c.timer);
  c.style.display = 'none';
 }
}
</script>
<!-- END JAVASCRIPTS -->

</body>
<!-- END BODY -->
</html>
<script>
	$(function(){
        	setInterval(getNew,5000);
        	// getNew();
    });

        	var id = <?php echo json_encode($_SESSION['think']['username'][0]['user_id']);?>;
        function getNew(){
            $.ajax({
                type:"POST",
                url:"<?php echo url('index/Top/message'); ?>",
                data:{id:id}, 
                dataType:'json',
                success:function(data){
                	if (data.length == 0) {
                		// 去除class
                		// $('#mailnum').removeClass();
                		$('#messagenum').html('暂无公告');
                	}else{
                		$('#mailnum').addClass('badge');
                		$('#mailnum').html(data.length);
                		$('#messagenum').html('你有'+data.length+'条公告。');
                		$('#baba').empty();
                		for(var i = 0; i <data.length ; i++){
// 
                			$('#baba').append('<a href="<?php echo url("index/inbox/check"); ?>?id='+data[i]['mail_id']+'"><span class="message">'+data[i]['mail_title']+'</span></a>');
                			// $('#baba').css('max-height','200px');
                			// console.log(data[i]['mail_id']);
                			// $('<span>'+$data[i]['mail_title']+'</span>').appendTo('.baba');
                		}
                		
						$(".message").each(function() {
					    if ($(this).text().length > 15) {
					        $(this).html($(this).text().replace(/\s+/g, "").substr(0, 15) + "...")
					    }
					})
                		
                	}

                },
                //Ajax请求超时，继续查询
                error:function(XMLHttpRequest,textStatus,errorThrown){
                   
                }
 
            });
        }
 
    // 
</script>

	<!-- // 查询未读公告 -->
<!-- <script>
	$(function(){
		setInterval(getNotice,5000);
		// getNotice();
    });
        var id = <?php echo json_encode($_SESSION['think']['username'][0]['user_id']);?>;
        function getNotice(){
            $.ajax({
                type:"POST",
                url:"<?php echo url('index/Top/notices'); ?>",
                data:{id:id}, 
                dataType:'json',
                success:function(res){
                	if (res.length == 0 ) {
                		// 去除class
                		// $('#notnum').removeClass();
                		$('#noticenum').html('暂无公告');
                	}else{
                		$('#notnum').addClass('badge');
                		$('#notnum').html(res.length);
                		$('#noticenum').html('你有'+res.length+'条公告。');
                		$('#papa').empty();
                		for(var i = 0; i <res.length ; i++){
// 
                			$('#papa').append('<a href="<?php echo url("index/inbox/check"); ?>?id='+res[i]['mail_id']+'"><span class="notice">'+res[i]['mail_title']+'</span></a>');
                			// console.log(data[i]['mail_id']);
                			// $('<span>'+$data[i]['mail_title']+'</span>').appendTo('.baba');
                		}
                		
						$(".notice").each(function() {
					    if ($(this).text().length > 15) {
					        $(this).html($(this).text().replace(/\s+/g, "").substr(0, 15) + "...")
					    }
					})
                		
                	}

                },
                //Ajax请求超时，继续查询
                error:function(XMLHttpRequest,textStatus,errorThrown){
                   
                }
 
            });
        }
 
</script> -->

<!-- <script>
	$(function(){
		$('.inbox').click(function(){
		$('.inbox').addClass("active");
	});
	});
</script> -->

	<!-- END SIDEBAR -->
	<!-- BEGIN CONTENT -->
	<style>
		.search{
			margin-top: 10px;
		}
		.getmodal{
			color: #000;
		}
		.getmodal:hover{
			text-decoration:none;
		}
		p{
			white-space: nowrap;
			overflow: hidden;
			text-overflow:ellipsis;
		}
	</style>

	<div class="page-content-wrapper" style="">
		<div class="page-content" style=" min-height: 700px;">
			<!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<div class="modal fade" id="portlet-config" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
				<div class="modal-dialog">
					<div class="modal-content">
						<div class="modal-header">
							<button type="button" class="close" data-dismiss="modal" aria-hidden="true"></button>
							<h4 class="modal-title">Modal title</h4>
						</div>
						<div class="modal-body">
							 Widget settings form goes here
						</div>
						<div class="modal-footer">
							<button type="button" class="btn blue">Save changes</button>
							<button type="button" class="btn default" data-dismiss="modal">Close</button>
						</div>
					</div>
					<!-- /.modal-content -->
				</div>
				<!-- /.modal-dialog -->
			</div>
			<!-- /.modal -->
			<!-- END SAMPLE PORTLET CONFIGURATION MODAL FORM-->
			<!-- BEGIN STYLE CUSTOMIZER -->
			
			<!-- END STYLE CUSTOMIZER -->
			<!-- BEGIN PAGE HEADER-->
			<div class="row">
				<div class="col-md-12">
					<!-- BEGIN PAGE TITLE & BREADCRUMB-->
					<h3 class="page-title">
					档案查询 <!-- <small>view order details</small> -->
					</h3>
					<ul class="page-breadcrumb breadcrumb">
						
						<li>
							<i class="fa fa-home"></i>
							<a href="<?php echo url('index/index/index'); ?>">
								Home
							</a>
							<i class="fa fa-angle-right"></i>
						</li>
						<li>
							<a href="<?php echo url('index/Search/index'); ?>">
								档案查询
							</a>
							<i class="fa fa-angle-right"></i>
						</li>
						
					</ul>
					<!-- END PAGE TITLE & BREADCRUMB-->
				</div>
			</div>
			<form class="form-inline" role="form" action="<?php echo url('index/Search/doSearch'); ?>" method="post"> 
			<!-- <form class="form-inline" role="form"> -->
			<!-- <div  class="form-inline" role="form"> -->
				<div class="col-md-12 col-lg-12 col-xs-12 col-sm-12" > 
					<div class="form-group col-md-4 col-lg-4 col-xs-4 col-sm-4 search">        
						<label class="form-label">类别</label>        
						<select class="form-control" name="type" id="type"  style="width: 200px;">
							<option value="0" selcted>全部</option>
							<option value="1">档案</option>
							<option value="2">图片</option>
							<option value="3">视频</option>
						</select>    
					</div>   
				</div> 
				<div class="col-md-12 col-lg-12 col-xs-12 col-sm-12">
					<div class="form-group  col-md-4 col-lg-4 col-xs-4 col-sm-4 search">        
						<label class="form-label">标题</label>        
						<input type="text" class="form-control" name="title" id="title" style="width: 200px;">      
					</div> 
					<div class="form-group  col-md-4 col-lg-4 col-xs-4 col-sm-4 search">        
						<label class="form-label">文件名</label>        
						<input type="text" class="form-control" name="name" id="name" style="width: 200px;">      
					</div>
					<div class="form-group  col-md-4 col-lg-4 col-xs-4 col-sm-4 search">        
						<label for="form-label">时间</label>     
						<input size="10" type="text" value=""  class="form-control form_datetime" name="start" id="start"
						style="width: 100px;">
		                <span>to</span>
		                <input size="10" type="text" value=""  class="form-control form_datetime" name="end" id="end" style="width: 100px;">    
					</div> 
				</div>
				<!-- <div class="col-md-12">
					<div class="form-group date col-md-6 search" style="position:relative;">
	                <label for="form-label">时间</label>
	                
	                <input size="16" type="text" value=""  class="form-control form_datetime" name="start">
	                <span>to</span>
	                <input size="16" type="text" value=""  class="form-control form_datetime" name="end">
	   				</div>
   				</div> -->
   				<div class="col-md-12" style="margin-bottom: 100px;">

   					<button type="submit" class="btn btn-success chaxun" style="margin-top:50px;position: absolute;top:50%;left: 50%;transform: translate(-50%,-50%);width: 100px;">查询</button>
   				</div>
   			<!-- </div>  -->
			</form>
			<div style="clear: both;"></div>
			<!-- END PAGE HEADER-->
			<!-- BEGIN PAGE CONTENT-->
			<div style="float: left;">
				<?php if($res != 0): if(is_array($res) || $res instanceof \think\Collection || $res instanceof \think\Paginator): $i = 0; $__LIST__ = $res;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
					<div class="col-md-2" style="width: 180px;margin: 0 10px;border:1px dashed #DDD;margin-bottom: 10px;">
						<!-- <div> -->
							<?php if($vo['arc_type'] == 'jpg' || $vo['arc_type'] == 'bmp' || $vo['arc_type'] == 'png' || $vo['arc_type'] == 'jpeg'): ?>
							<a class="getmodal" data-id="<?php echo $vo['arc_id']; ?>" href="<?php echo url('index/Search/onRead'); ?>">
							<div style="height: 170px;width: 150px;display: flex;justify-content:center;align-items:center;">
							<img src="<?php echo $vo['file_save_path']; ?>" alt="" style="max-width: 150px;max-height: 160px; vertical-align: middle;text-align: center;">
							</div>
							<p style="text-align: center;"><?php echo $vo['arc_title']; ?>.<?php echo $vo['arc_type']; ?></p>
							</a>
							<?php elseif($vo['arc_type'] == 'mp4' || $vo['arc_type'] == 'avi' || $vo['arc_type'] == 'rmvb' || $vo['arc_type'] == 'wmv'): ?>
							<a class="getmodal" data-id="<?php echo $vo['arc_id']; ?>" href="<?php echo url('index/Search/onRead'); ?>">
							<div style="height: 170px;width: 150px;display: flex;justify-content:center;align-items:center;">
							<!-- <i class="fa fa-file-video-o fa-lg" style="color: #5C6BC0;font-size: 5em;line-height: 1em"></i> -->
							<img src="/static/assets/logo/wjtbpic0_20.png" alt="">
							</div>
							<p style="text-align: center;"><?php echo $vo['arc_title']; ?>.<?php echo $vo['arc_type']; ?></p>
							</a>
							<?php elseif($vo['arc_type'] == 'docx' || $vo['arc_type'] == 'doc'): ?>
							<a class="getmodal" data-id="<?php echo $vo['arc_id']; ?>" href="<?php echo url('index/Search/onRead'); ?>">
							<div style="height: 170px;width: 150px;display: flex;justify-content:center;align-items:center;">
							<!-- <i class="fa fa-file-word-o" style="color: #5C6BC0;font-size: 5em;line-height: 1em"></i> -->
							<img src="/static/assets/logo/wjtbpic0_13.png" alt="">
							</div>
							<p style="text-align: center;"><?php echo $vo['arc_title']; ?>.<?php echo $vo['arc_type']; ?></p>
							</a>
							<?php elseif($vo['arc_type'] == 'html'): ?>
							<a class="getmodal" data-id="<?php echo $vo['arc_id']; ?>" href="<?php echo url('index/Search/onRead'); ?>">
							<div style="height: 170px;width: 150px;display: flex;justify-content:center;align-items:center;">
							<i class="fa fa-file-code-o" style="color: #BDBDBD;font-size: 5em;line-height: 1em"></i>
							</div>
							<p style="text-align: center;"><?php echo $vo['arc_title']; ?>.<?php echo $vo['arc_type']; ?></p>
							</a>
							<?php elseif($vo['arc_type'] == 'pptx' || $vo['arc_type'] == 'ppt'): ?>
							<a class="getmodal" data-id="<?php echo $vo['arc_id']; ?>" href="<?php echo url('index/Search/onRead'); ?>">
							<div style="height: 170px;width: 150px;display: flex;justify-content:center;align-items:center;">
							<!-- <i class="fa fa-file-powerpoint-o" style="color: #FF6E40;font-size: 5em;line-height: 1em"></i> -->
							<img src="/static/assets/logo/wjtbpic0_17.png" alt="">
							</div>
							<p style="text-align: center;"><?php echo $vo['arc_title']; ?>.<?php echo $vo['arc_type']; ?></p>
							</a>
							<?php elseif($vo['arc_type'] == 'xlsx' || $vo['arc_type'] == 'xls'): ?>
							<a class="getmodal" data-id="<?php echo $vo['arc_id']; ?>" href="<?php echo url('index/Search/onRead'); ?>">
							<div style="height: 170px;width: 150px;display: flex;justify-content:center;align-items:center;">
							<!-- <i class="fa fa-file-excel-o" style="color: #43A047;font-size: 5em;line-height: 1em"></i> -->
							<img src="/static/assets/logo/wjtbpic0_15.png" alt="">
							</div>
							<p style="text-align: center;"><?php echo $vo['arc_title']; ?>.<?php echo $vo['arc_type']; ?></p>
							</a>
							<?php elseif($vo['arc_type'] == 'pdf'): ?>
							<a class="getmodal" data-id="<?php echo $vo['arc_id']; ?>" href="<?php echo url('index/Search/onRead'); ?>">
							<div style="height: 170px;width: 150px;display: flex;justify-content:center;align-items:center;">
							<!-- <i class="fa fa-file-excel-o" style="color: #43A047;font-size: 5em;line-height: 1em"></i> -->
							<img src="/static/assets/logo/wjtbpic0_19.png" alt="">
							</div>
							<p style="text-align: center;"><?php echo $vo['arc_title']; ?>.<?php echo $vo['arc_type']; ?></p>
							</a>
							<?php elseif($vo['arc_type'] == 'rar' || $vo['arc_type'] == '7z' || $vo['arc_type'] == 'zip'): ?>
							<a class="getmodal" data-id="<?php echo $vo['arc_id']; ?>" href="<?php echo url('index/Search/onRead'); ?>">
							<div style="height: 170px;width: 150px;display: flex;justify-content:center;align-items:center;">
							<!-- <i class="fa fa-file-excel-o" style="color: #43A047;font-size: 5em;line-height: 1em"></i> -->
							<img src="/static/assets/logo/wjtbpic0_03.png" alt="">
							</div>
							<p style="text-align: center;"><?php echo $vo['arc_title']; ?>.<?php echo $vo['arc_type']; ?></p>
							</a>
							<?php elseif($vo['arc_type'] == 'mp3'): ?>
							<a class="getmodal" data-id="<?php echo $vo['arc_id']; ?>" href="<?php echo url('index/Search/onRead'); ?>">
							<div style="height: 170px;width: 150px;display: flex;justify-content:center;align-items:center;">
							<!-- <i class="fa fa-file-excel-o" style="color: #43A047;font-size: 5em;line-height: 1em"></i> -->
							<img src="/static/assets/logo/wjtbpic0_05.png" alt="">
							</div>
							<p style="text-align: center;"><?php echo $vo['arc_title']; ?>.<?php echo $vo['arc_type']; ?></p>
							</a>
							<?php else: ?>
							<a class="getmodal" data-id="<?php echo $vo['arc_id']; ?>" href="<?php echo url('index/Search/onRead'); ?>">
							<div style="height: 170px;width: 150px;display: flex;justify-content:center;align-items:center;">
							<!-- <i class="fa fa-file-o fa-lg" style="color: #BDBDBD;font-size: 5em;display: flex;justify-content:center;align-items:center;"></i> -->
							<img src="/static/assets/logo/wjtbpic0_21.png" alt="">
							</div>
							<p style="text-align: center;"><?php echo $vo['arc_title']; ?>.<?php echo $vo['arc_type']; ?></p>
							</a>
							<?php endif; ?>
							
						<!-- </div> -->
					</div>
					<?php endforeach; endif; else: echo "" ;endif; else: ?> 
				<div>
					<p>没有可查看的内容</p>
				</div>
				<?php endif; ?>
			</div>
				<div style="clear: both;height:0;font-size: 1px;line-height: 0px;"></div>

			</div>

			
			
		</div>
			    <script src="/static/assets/plugins/respond.min.js"></script>
			    <script src="/static/assets/plugins/excanvas.min.js"></script> 
				<script src="/static/assets/plugins/jstree/dist/jstree.min.js"></script>
				<script src="/static/assets/scripts/custom/ui-tree.js"></script>
				<script src="/static/assets/scripts/core/app.js"></script>
				<!-- <link rel="stylesheet" type="text/css" href="/static/assets/plugins/jstree/dist/themes/default/style.min.css"/> -->
				<!-- <script src="/static/assets/scripts/core/dt.js"></script> -->
				<script src="/static/assets/js/toastr.min.js" rel="stylesheet"/></script>
				<link href="/static/assets/css/toastr.min.css" rel="stylesheet"/>
				
				<link href="/static/assets/css/bootstrap-datetimepicker.min.css" rel="stylesheet" />
				<script src="/static/assets/js/bootstrap-datetimepicker.js"></script>
				<script src="/static/assets/js/bootstrap-datetimepicker.zh-CN.js"></script>

			    <script src="/static/assets/js/jquery.mloading.js"></script>
			    <link rel="stylesheet" href="/static/assets/css/jquery.mloading.css">
				
				<!-- END PAGE LEVEL SCRIPTS -->


	<script>
        jQuery(document).ready(function() {    
           App.init();
           // EcommerceOrdersView.init();
           UITree.init();

        });
    </script>
 
<script>
		$(function(){
			$('.search').addClass("active");
		});
</script>
<script type="text/javascript">
    $(".form_datetime").datetimepicker({ 

　　minView: "month", //选择日期后，不会再跳转去选择时分秒 

　　format: "yyyy-mm-dd", //选择日期后，文本框显示的日期格式 

　　language: 'zh-CN', //汉化 

	todayBtn : true,
	// startDate: date ,

　　autoclose:true //选择日期后自动关闭 

});

</script>   
<script src="/static/assets/plugins/jstree/dist/jstree.min.js"></script>
<!-- END PAGE LEVEL SCRIPTS -->
<script src="/static/assets/scripts/custom/ui-tree.js"></script>
<script src="/static/assets/scripts/core/app.js"></script>
<link rel="stylesheet" type="text/css" href="/static/assets/plugins/jstree/dist/themes/default/style.min.css"/>
<script src="/static/assets/scripts/core/dt.js"></script>

<script>
    dt().getModals();
    dt().getUrl();
    
</script>
				<!-- END JAVASCRIPTS -->
</body>
				<!-- END BODY -->
</html>

<!-- 查询未读邮件 -->
